package week7;


import java.io.*;
import java.util.*;
   class ForInTest  {
    static List list=new ArrayList();

            public static void main (String  []  args)  {
        list. add("a"); list. add("b");list. add( "c");
            for(Object o:list)
            System.out.print (o);
            }
      }
/**
 * Created by mc on 2017/4/5.
 */
class test {
    private void echo() throws IOException {
        String line;
        Console c = System.console();
        Writer w = c.writer();
        if ((line = c.readLine()) != null)
            w.append(line);
        w.flush();
        }
    }